﻿using System;

namespace CodeContrib
{
	public class RandomType<T> : IRandom<T>
	{
		public T Next()
		{
			var instance = (T)Activator.CreateInstance(typeof (T));

			return instance.Hydrate();
		}
	}
}